package com.idanchuang.component.webflux.dto;

import java.io.Serializable;

public class LoginSsoUserDTO  implements Serializable {

    private static final long serialVersionUID = 2951073638714819626L;

    /**
     * 用户ID
     */
    private Long id;
    /**
     * 工号
     */
    private String jobNumber;
    /**
     * 账号
     */
    private String account;
    /**
     * 真实姓名
     */
    private String realName;
    /**
     * 头像地址
     */
    private String avatar;
    /**
     * 版本号
     */
    private int version;
    /**
     * 最近一次登录IP
     */
    private String lastLoginIp;
    /**
     * 最近一次登录时间
     */
    private String lastLoginTime;
    /**
     * 登录次数
     */
    private Integer loginCount;
    /**
     * 在职状态
     */
    private Integer onJobStatus;
    /**
     * 手机号
     */
    private String phoneNum;
    /**
     * 企业邮箱
     */
    private String email;
    /**
     * 职级
     */
    private String rank;
    /**
     * 职级类型，RD研发，QA质量
     */
    private String post;
    /**
     * 花名
     */
    private String nickname;
    /**
     * jwt所面向的用户
     */
    private String sub;
    /**
     * jwt的过期时间，该时间需大于签发时间
     */
    private Long exp;
    /**
     * jwt的签发时间
     */
    private Long iat;
    /**
     * jwt的唯一身份标识，主要用来作为一次性token,从而回避重放攻击
     */
    private String jti;
    /**
     * jwt签发者
     */
    private String iss;
    /**
     * 接收jwt的一方
     */
    private String aud;
    /**
     * 定义在什么时间之前，该jwt都是不可用的.
     */
    private Long nbf;
    /**
     * unix 时间戳，秒级别
     */
    private long timestamp;
    /**
     * 所属环境
     */
    private String environment;

    public Long getId() {
        return id;
    }

    public String getJobNumber() {
        return jobNumber;
    }

    public void setJobNumber(String jobNumber) {
        this.jobNumber = jobNumber;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    public String getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(String lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Integer getLoginCount() {
        return loginCount;
    }

    public void setLoginCount(Integer loginCount) {
        this.loginCount = loginCount;
    }

    public Integer getOnJobStatus() {
        return onJobStatus;
    }

    public void setOnJobStatus(Integer onJobStatus) {
        this.onJobStatus = onJobStatus;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getRank() {
        return rank;
    }

    public void setRank(String rank) {
        this.rank = rank;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getSub() {
        return sub;
    }

    public void setSub(String sub) {
        this.sub = sub;
    }

    public Long getExp() {
        return exp;
    }

    public void setExp(Long exp) {
        this.exp = exp;
    }

    public Long getIat() {
        return iat;
    }

    public void setIat(Long iat) {
        this.iat = iat;
    }

    public String getJti() {
        return jti;
    }

    public void setJti(String jti) {
        this.jti = jti;
    }

    public String getIss() {
        return iss;
    }

    public void setIss(String iss) {
        this.iss = iss;
    }

    public String getAud() {
        return aud;
    }

    public void setAud(String aud) {
        this.aud = aud;
    }

    public Long getNbf() {
        return nbf;
    }

    public void setNbf(Long nbf) {
        this.nbf = nbf;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getEnvironment() {
        return environment;
    }

    public void setEnvironment(String environment) {
        this.environment = environment;
    }
}
